package de.baumann.browser.views.dialog

import android.content.Context
import android.view.View
import de.baumann.browser.R

class AccountChangeDialog (context: Context,var onClickListener: View.OnClickListener):BaseTipDialog(context){

    override fun initView() {
        super.initView()
        getButton().setOnClickListener {
            onClickListener.onClick(it)
            dismiss()
        }
    }

    override fun getTipContent(): String {
        return context.getString(R.string.loginName_changed_to_mobile_number)
    }

    override fun getTipSubContent(): String {
        return ""
    }

    override fun getTipButtonText(): String {
        return context.getString(R.string.Got_it)
    }

}